package com.aizuda.boot.modules.business.permission.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author duanyao
 * @date 2022/12/05 14:07
 * @description: 人员角色表信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("auth_employee_role_rel")
public class EmployeeRoleRelEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 2413234123411L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 员工id
     */
    @Schema(description="员工id")
    private Long employeeId;

    /**
     * 角色id
     */
    @Schema(description="角色id")
    private Long roleId;
}
